/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sessionbeans.stateless;

import java.util.List;
import javax.ejb.Stateless;
import javax.inject.Inject;
import jpa.facade.EmpresaFacade;

/**
 *
 * @author renato
 */
@Stateless
public class EmpresaBean implements EmpresaBeanRemote {

    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")

    @Inject
    EmpresaFacade empresaFacade;
    
    @Override
    public List buscaEmpresaList() {
        return empresaFacade.findAll();
    }
    
}
